﻿using System;

namespace FzWeb.Models
{
    public partial class Message
    {
        public string FromName
        {
            get {

                return (new UserService()).GetUser(this.From).Name;
            }
        }

        public string ToName
        {
            get
            {

                return (new UserService()).GetUser(this.To).Name;
            }
        }
    }
}
